home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
wildcat
/
catlist1.zip
/
CATLIST.WCX
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1996-03-07
|
22KB
|
843 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 22039 bytes 01/28/123 08:37:22pm
'! Code Segment Size :9114 bytes
'! Data Segment Size :5665 bytes
'! String Segment Size:12925 bytes
'! Compiled with WCC version 4.11
Type Type26
s0 As String*30
s30 As String*6
s36 As String*30
s66 As String*79
s145 As String*79
s224 As String*79
s303 As String*25
s328 As String*25
s353 As String*25
s378 As String*25
s403 As String*3
s406 As String*15
s421 As String*15
s436 As String*15
s451 As String*20
s471 As String*30
End Type
Declare Sub Sub919
Declare Sub Sub2204
Declare Sub Sub3172
Declare Sub Sub4082
Declare Sub Sub4409
Declare Sub Sub6927
Declare Sub Sub7408
Declare Sub Sub7670
Declare Function Func8629(l65534 As Long, l65532 As Long) As Integer
Dim i4463 As Integer
Dim i4465 As Integer
Dim i4467 As Integer
Dim i4469 As Integer
Dim i4471 As Integer
Dim i4473 As Integer
Dim t26_4475 As Type26
Dim o4976 As Boolean
Dim s4977 As String
Dim s4981 As String
Dim s4985 As String
Dim s4989 As String
Dim l4993 As Long
Dim l4997 As Long
Dim i5001 As Integer
Dim s5003 As String
Dim ur5007 As UserRecord
Dim s5657 As String
Dim s5661 As String
Dim l65528_ As Long '! Temporary
Dim s65532_ As String
If Not ANSIEnabled = -1 Then
Print "SORRY THIS DOOR REQUIRES ANSI"
End
End If
66 If Exists(ProgPath + "CATLIST.CFG") Then
Open ProgPath + "CATLIST.CFG" For Input As 1
Input #1, l4997
Input #1, s4977
Input #1, s4981
Input #1, s4985
Input #1, s4989
Close 1
Else
157 Cls
Print "CATLIST.CFG NOT FOUND, ABORTING!!!"
WaitEnter
ActivityLog "CATLIST.CFG NOT FOUND, CATLIST CAN NOT CONTINUE"
End
End If
181 If User.SecLevel = s4981 Or User.SecLevel = s4985 Or User.SecLevel = s4989 Then
Print "SORRY YOU DON'T HAVE ACCESS TO THIS DOOR!"
WaitEnter
End
End If
252 ActivityLog "*** ENTERED CATLIST AT @TIME@ ***"
EnablePages 0
If Func8629(l4997, (162103)) = - 1 Then
i5001 = -1
Else
317 i5001 = 0
End If
323 If i5001 = -1 Then
s5003 = MakeWild.BBSName
Else
359 s5003 = "UNREGISTERED"
End If
368 Print DefColor
Cls
Print "@00@ @03@▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@00@"
Print "@00@ @13@█@3B@┌─────────────────────────────────────────────@30@┐@13@█ @00@"
Print "@00@ @13@█@3B@│ @3E@CATList v1.0 @3F@- BBSLister for @3B@Wildcat! v4.1 @30@│@13@█ @00@"
Print "@00@ @13@█@3B@└@30@─────────────────────────────────────────────┘@13@█ @00@"
Print "@00@ @03@▀@13@▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ @00@"
Print "@00@" + Tab(22); "@0C@ (C)OPYRIGHT 1996 BY PAUL ELSON"
Print "@00@ @03@▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@00@"
Print "@00@ @03@█@3B@┌─────────────────@30@┐@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@A@3F@dd Record @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@V@3F@iew Records @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@L@3F@ist Records @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@E@3F@dit Record @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@K@3F@ill Record @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@D@3F@ownload List @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@I@3F@nformation @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@Q@3F@uit to BBS @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@└@30@─────────────────┘@03@█@13@ @00@"
Print "@00@ @03@▀@13@▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ @0E@@00@"
Print
Print Tab(25); "@01@REGISTERED TO: @0C@" + s5003
Do
579 s5661 = InKey(1213417543)
s65532_ = UCase(s5661)
If s65532_ = "A" Then
Sub919
GoTo 368
Else
637 If s65532_ = "V" Then
Sub2204
GoTo 368
Else
672 If s65532_ = "L" Then
Sub4082
GoTo 368
Else
707 If s65532_ = "E" Then
Sub4409
GoTo 368
Else
742 If s65532_ = "K" Then
Sub3172
GoTo 368
Else
777 If s65532_ = "D" Then
Sub7670
GoTo 368
Else
812 If s65532_ = "I" Then
Sub7408
GoTo 368
Else
847 If s65532_ = "Q" Then
Sub6927
End
GoTo 877
End If
End If
End If
End If
End If
End If
End If
End If
877 Loop
'! Called 1 time
Sub Sub919
MorePrompt(0)
Cls
Print "@00@ @03@▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@00@"
Print "@00@ @13@█@3B@┌─────────────────────────────────────────────@30@┐@13@█ @00@"
Print "@00@ @13@█@3B@│ @3E@CATList v1.0 @3F@- BBSLister for @3B@Wildcat! v4.1 @30@│@13@█ @00@"
Print "@00@ @13@█@3B@└@30@─────────────────────────────────────────────┘@13@█ @00@"
Print "@00@ @03@▀@13@▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ @00@"
Print
Print "@3F@ ┌──────────────────────────────────────────────────────────────────────────@30@┐ @07@"
Print "@3F@ │ @30@BBS Name [ ] Number of Nodes [ ] @30@│ @07@"
Print "@3F@ │ @30@Phone Number [ ] Max Baud Rate [ ] @30@│ @07@"
Print "@3F@ │ @30@Sysop's Name [ ] Net Address @30@│ @07@"
Print "@3F@ │ @30@Software Used [ ] [ ] @30@│ @07@"
Print "@3F@ │ @30@City [ ] [ ] @30@│ @07@"
Print "@3F@ │ @30@Province/State [ ] [ ] @30@│ @07@"
Print "@3F@ │ @30@Country [ ] @30@│ @07@"
Print "@3F@ │ @30@Comment 1 [ ] @30@│ @07@"
Print "@3F@ │ @30@Comment 2 [ ] @30@│ @07@"
Print "@3F@ │ @30@Comment 3 [ ] @30@│ @07@"
Print "@3F@ │ @30@ │ @07@"
Print "@3F@ │ @30@ │ @07@"
Print "@3F@ │ @30@ │ @07@"
Print "@3F@ │ @30@│ @07@"
Print "@3F@ └@30@──────────────────────────────────────────────────────────────────────────┘ @07@"
t26_4475.s471 = NodeInfo.CallersName
Locate 8, 13
t26_4475.s0 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s0 = "" Then
Else
1212 Locate 8, 65
t26_4475.s403 = Trim(InputMask("", "999", "", 1213417543))
If t26_4475.s403 = "" Then
t26_4475.s403 = "1"
End If
1296 Locate 9, 17
t26_4475.s406 = Trim(InputMask("", "999-999-9999", "", 1213417543))
If t26_4475.s406 = "" Then
Else
1370 Locate 9, 63
t26_4475.s30 = Trim(InputMask("", "999999", "", 1213417543))
If t26_4475.s30 = "" Then
Else
1442 Locate 10, 17
t26_4475.s451 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s451 = "" Then
Else
1516 Locate 11, 18
t26_4475.s436 = Trim(InputMask("", "XXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s436 = "" Then
Else
1590 Locate 11, 49
t26_4475.s328 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 12, 9
t26_4475.s36 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s36 = "" Then
Else
1706 Locate 12, 49
t26_4475.s353 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 13, 19
t26_4475.s421 = Trim(InputMask("", "XXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s421 = "" Then
Else
1824 Locate 13, 49
t26_4475.s378 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 14, 12
t26_4475.s303 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s303 = "" Then
t26_4475.s303 = "Canada"
End If
1952 Locate 15, 14
t26_4475.s66 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 16, 14
t26_4475.s145 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 17, 14
t26_4475.s224 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
i4465 = LOF(1)
If LockFile(1, 1, i4465 + 1) = -1 Then
Put 1, i4465 + 1, t26_4475 '! 501 bytes
UnlockFile(1, 1, i4465 + 1)
Close 1
End If
2186 Print DefColor
o4976 = -1
End If
End If
End If
End If
End If
End If
End If
2201
End Sub
'! Called 1 time
Sub Sub2204
Dim l65530 As Long
Dim i65534 As Integer
Cls
Print "@03@ BBS NAME" + Tab(24); "CITY" + Tab(63); "PHONE"
Print "@0C@══════════════════════════════════════════════════════════════════════════════"
Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
i4465 = LOF(1)
If i4465 <= 0 Then
Print "@0F@ SORRY THERE ARE NO RECORDS"
Close 1
WaitEnter
Else
2335
2359 For i4463 = 1 To i4465 Step 1
Get 1, i4463, t26_4475 '! 501 bytes
Print "@0C@[@0F@"; i4463; "@0C@]@0E@ "; t26_4475.s0; Tab(36); t26_4475.s36; Tab(67); t26_4475.s406
Next
2520 Close 1
Print
Print "@0C@VIEW WHICH RECORD (enter to quit)";
Input i4467
If i4467 > i4465 Then
Print "@0F@ SORRY THERE IS NO RECORD "; i4467
WaitEnter
Else
2586 If i4467 <= 0 Then
WaitEnter
Else
2609 Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
Get 1, i4467, t26_4475 '! 501 bytes
Close 1
Cls
MorePrompt(0)
Print
Print "@3F@ ┌──────────────────────────────────────────────────────────────────────────@30@┐ @07@"
Print "@3F@ │ @30@BBS Name [ ] Number of Nodes [ ] @30@│ @07@"
Print "@3F@ │ @30@Phone Number [ ] Max Baud Rate [ ] @30@│ @07@"
Print "@3F@ │ @30@Sysop's Name [ ] Net Address @30@│ @07@"
Print "@3F@ │ @30@Software Used [ ] [ ] @30@│ @07@"
Print "@3F@ │ @30@City [ ] [ ] @30@│ @07@"
Print "@3F@ │ @30@Province/State [ ] [ ] @30@│ @07@"
Print "@3F@ │ @30@Country [ ] @30@│ @07@"
Print "@3F@ │ @30@Comment 1 [ ] @30@│ @07@"
Print "@3F@ │ @30@Comment 2 [ ] @30@│ @07@"
Print "@3F@ │ @30@Comment 3 [ ] @30@│ @07@"
Print "@3F@ │ @30@ │ @07@"
Print "@3F@ │ @30@ │ @07@"
Print "@3F@ │ @30@ │ @07@"
Print "@3F@ │ @30@This Record entered by @30@│ @07@"
Print "@3F@ └@30@──────────────────────────────────────────────────────────────────────────┘ @07@"
Locate 3, 14
Print "@3F@"; t26_4475.s0
Locate 4, 18
Print t26_4475.s406
Locate 5, 18
Print t26_4475.s451
Locate 6, 19
Print t26_4475.s436
Locate 7, 10
Print t26_4475.s36
Locate 8, 20
Print t26_4475.s421
Locate 3, 66
Print t26_4475.s403
Locate 4, 64
Print t26_4475.s30
Locate 6, 50
Print t26_4475.s328
Locate 7, 50
Print t26_4475.s353
Locate 8, 50
Print t26_4475.s378
Locate 10, 15
Print t26_4475.s66
Locate 9, 13
Print t26_4475.s303
Locate 11, 15
Print t26_4475.s145
Locate 12, 15
Print t26_4475.s224
Locate 16, 27
Print t26_4475.s471
Locate 17, 1
WaitEnter
End If
End If
End If
3169
End Sub
'! Called 1 time
Sub Sub3172
Dim l65524 As Long
Dim i65528 As Integer
Dim l65530 As Long
Dim i65534 As Integer
Cls
Print "@03@ BBS NAME" + Tab(28); "CITY" + Tab(52); "PHONE"
Print "@0C@══════════════════════════════════════════════════════════════════════════════"
Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
i4465 = LOF(1)
If i4465 <= 0 Then
Print "@0F@ SORRY THERE ARE NO RECORDS"
Close 1
WaitEnter
Else
3303
3327 For i4463 = 1 To i4465 Step 1
Get 1, i4463, t26_4475 '! 501 bytes
Print "@0C@[@0F@"; i4463; "@0C@]@0E@ "; t26_4475.s0; Tab(31); t26_4475.s36; Tab(53); t26_4475.s406
Next
3488 Close 1
i4471 = 1
Print
Print "@0F@DELETE WHICH RECORD? (ENTER TO QUIT) ";
Input i4473
If i4473 <= 0 Then
Else
3538 If i4473 > i4465 Then
Print "@0F@ SORRY THERE IS NO RECORD "; i4473
WaitEnter
Else
3581 Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
Get 1, i4473, t26_4475 '! 501 bytes
Close 1
If t26_4475.s471 = Trim(NodeInfo.CallersName) Or NodeInfo.Security = "SYSOP" Or t26_4475.s451 = Trim(NodeInfo.CallersName) Then
Print
If Not InputYesNo("@0C@ARE YOU SURE? (Y/N) @0E@", 0) Then
GoTo 4079
End If
3728 Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
Open ProgPath + "CATLIST.SAV" For Random As 2 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
i4465 = LOF(1)
If LockFile(1, 1, i4465) = -1 Then
3837 For i4463 = 1 To LOF(1) Step 1
Get 1, i4463, t26_4475 '! 501 bytes
If i4473 = i4463 Then
i4471 = i4471 - 1
Else
3941 Put 2, i4471, t26_4475 '! 501 bytes
End If
3957 i4471 = i4471 + 1
Next
3994 UnlockFile(1, 1, i4465)
End If
4007 Close 1
Close 2
Kill ProgPath + "CATLIST.DAT"
Name ProgPath + "CATLIST.SAV" As ProgPath + "CATLIST.DAT"
o4976 = -1
Else
4067 Print "SORRY YOU CAN'T DELETE THIS RECORD"
WaitEnter
End If
End If
End If
End If
4079
End Sub
'! Called 1 time
Sub Sub4082
Dim l65530 As Long
Dim i65534 As Integer
Cls
Print "@03@ BBS NAME" + Tab(24); "CITY" + Tab(63); "PHONE"
Print "@0C@══════════════════════════════════════════════════════════════════════════════"
Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
i4465 = LOF(1)
If i4465 <= 0 Then
Print "@0F@ SORRY THERE ARE NO RECORDS"
Close 1
WaitEnter
Else
4213
4237 For i4463 = 1 To i4465 Step 1
Get 1, i4463, t26_4475 '! 501 bytes
Print "@0C@[@0F@"; i4463; "@0C@]@0E@ "; t26_4475.s0; Tab(36); t26_4475.s36; Tab(67); t26_4475.s406
Next
4398 Close 1
WaitEnter
End If
4406
End Sub
'! Called 1 time
Sub Sub4409
Dim l65530 As Long
Dim i65534 As Integer
Cls
Print "@03@ BBS NAME" + Tab(24); "CITY" + Tab(63); "PHONE"
Print "@0C@══════════════════════════════════════════════════════════════════════════════"
Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
i4465 = LOF(1)
If i4465 <= 0 Then
Print "@0F@ SORRY THERE ARE NO RECORDS"
Close 1
WaitEnter
Else
4540
4564 For i4463 = 1 To i4465 Step 1
Get 1, i4463, t26_4475 '! 501 bytes
Print "@0C@[@0F@"; i4463; "@0C@]@0E@ "; t26_4475.s0; Tab(36); t26_4475.s36; Tab(67); t26_4475.s406
Next
4725 Close 1
Print "@0C@EDIT WHICH RECORD (enter to quit)";
Input i4467
If i4467 > i4465 Then
Print "@0F@ SORRY THERE IS NO RECORD "; i4467
WaitEnter
Else
4789 If i4467 <= 0 Then
WaitEnter
Else
4812 Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
Get 1, i4467, t26_4475 '! 501 bytes
Close 1
Do
4859 If (t26_4475.s471 = Trim(NodeInfo.CallersName) Or NodeInfo.Security = "SYSOP" Or t26_4475.s451 = Trim(NodeInfo.CallersName)) = 0 Then GoTo 6899
Cls
MorePrompt(0)
Print
Print "@3F@ ┌──────────────────────────────────────────────────────────────────────────@30@┐ @07@"
Print "@3F@ │ @30@BBS Name (1)[ ] Number of Nodes (2)[ ] @30@│ @07@"
Print "@3F@ │ @30@Phone Number (3)[ ] Max Baud Rate (4)[ ] @30@│ @07@"
Print "@3F@ │ @30@Sysop's Name (5)[ ] Net Address @30@│ @07@"
Print "@3F@ │ @30@Software Used (6)[ ] (7)[ ] @30@│ @07@"
Print "@3F@ │ @30@City (8)[ ] (9)[ ] @30@│ @07@"
Print "@3F@ │ @30@Province/State (10)[ ] (11)[ ] @30@│ @07@"
Print "@3F@ │ @30@Country (12)[ ] @30@│ @07@"
Print "@3F@ │ @30@Comment(13)[ ]@30@│ @07@"
Print "@3F@ │ @30@Comment(14)[ ]@30@│ @07@"
Print "@3F@ │ @30@Comment(15)[ ]@30@│ @07@"
Print "@3F@ │ @30@ │ @07@"
Print "@3F@ │ @30@ │ @07@"
Print "@3F@ │ @30@ │ @07@"
Print "@3F@ │ @30@This Record entered by @30@│ @07@"
Print "@3F@ └@30@──────────────────────────────────────────────────────────────────────────┘ @07@"
Locate 3, 17
Print "@3F@"; t26_4475.s0
Locate 4, 21
Print t26_4475.s406
Locate 5, 21
Print t26_4475.s451
Locate 6, 22
Print t26_4475.s436
Locate 7, 13
Print t26_4475.s36
Locate 8, 24
Print t26_4475.s421
Locate 3, 69
Print t26_4475.s403
Locate 4, 67
Print t26_4475.s30
Locate 6, 50
Print t26_4475.s328
Locate 7, 50
Print t26_4475.s353
Locate 8, 50
Print t26_4475.s378
Locate 10, 16
Print t26_4475.s66
Locate 9, 17
Print t26_4475.s303
Locate 11, 16
Print t26_4475.s145
Locate 12, 16
Print t26_4475.s224
Locate 16, 27
Print t26_4475.s471
Locate 19, 1
Print DefColor
ClrEOL
Print "@0F@EDIT WHICH ENTRY? 1-16 (0 TO QUIT / 16 TO QUIT & SAVE)";
Input i4469
If i4469 < 0 Or i4469 > 16 Then
Print "SORRY 0-16 ONLY"
End If
5504 If i4469 = 0 Then
GoTo 6924
End If
5524 If i4469 = 1 Then
Locate 3, 16
t26_4475.s0 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 19, 1
End If
5585 If i4469 = 2 Then
Locate 3, 68
t26_4475.s403 = Trim(InputMask("", "999", "", 1213417543))
If t26_4475.s403 = "" Then
t26_4475.s403 = "1"
End If
5684 Locate 19, 1
End If
5691 If i4469 = 3 Then
Locate 4, 20
t26_4475.s406 = Trim(InputMask("", "999-999-9999", "", 1213417543))
Locate 19, 1
If t26_4475.s406 = "" Then
GoTo 6924
End If
End If
5787 If i4469 = 4 Then
Locate 4, 66
t26_4475.s30 = Trim(InputMask("", "999999", "", 1213417543))
If t26_4475.s30 = "" Then
GoTo 6924
End If
5874 Locate 19, 1
End If
5881 If i4469 = 5 Then
Locate 5, 20
t26_4475.s451 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s451 = "" Then
GoTo 6924
End If
5970 Locate 19, 1
End If
5977 If i4469 = 6 Then
Locate 6, 21
t26_4475.s436 = Trim(InputMask("", "XXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s436 = "" Then
GoTo 6924
End If
6066 Locate 19, 1
End If
6073 If i4469 = 7 Then
Locate 6, 49
t26_4475.s328 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 19, 1
End If
6139 If i4469 = 8 Then
Locate 7, 12
t26_4475.s36 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s36 = "" Then
GoTo 6924
End If
6226 Locate 19, 1
End If
6233 If i4469 = 9 Then
Locate 7, 49
t26_4475.s353 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 19, 1
End If
6299 If i4469 = 10 Then
Locate 8, 23
t26_4475.s421 = Trim(InputMask("", "XXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s421 = "" Then
GoTo 6924
End If
6388 Locate 19, 1
End If
6395 If i4469 = 11 Then
Locate 8, 49
t26_4475.s378 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 19, 1
End If
6461 If i4469 = 12 Then
Locate 9, 16
t26_4475.s303 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
If t26_4475.s303 = "" Then
t26_4475.s303 = "Canada"
End If
6560 Locate 19, 1
End If
6567 If i4469 = 13 Then
Locate 10, 15
t26_4475.s66 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 19, 1
End If
6632 If i4469 = 14 Then
Locate 11, 15
t26_4475.s145 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 19, 1
End If
6697 If i4469 = 15 Then
Locate 12, 15
t26_4475.s224 = Trim(InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543))
Locate 19, 1
End If
6762 If i4469 = 16 Then
Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
If LockFile(1, i4467, i4467) = -1 Then
Put 1, i4467, t26_4475 '! 501 bytes
UnlockFile(1, i4467, i4467)
End If
6861 Close 1
o4976 = -1
GoTo 6924
End If
6880 Print DefColor
Loop
GoTo 6924
6899 Print "SORRY YOU CAN'T EDIT THIS RECORD."
WaitEnter
Print DefColor
GoTo 6924
End If
End If
End If
6924
End Sub
'! Called 1 time
Sub Sub6927
Dim l65530 As Long
Dim i65534 As Integer
If o4976 = -1 Then
Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
Open ProgPath + "CATLIST.TMP" For Output As 2
Print #2, "@CLS@"
Print #2, "@00@ @03@▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@00@"
Print #2, "@00@ @13@█@3B@┌─────────────────────────────────────────────@30@┐@13@█ @00@"
Print #2, "@00@ @13@█@3B@│ @3E@CATList v1.0 @3F@- BBSLister for @3B@Wildcat! v4.1 @30@│@13@█ @00@"
Print #2, "@00@ @13@█@3B@└@30@─────────────────────────────────────────────┘@13@█ @00@"
Print #2, "@00@ @03@▀@13@▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ @00@"
Print #2, "@00@" + Tab(22); "@0C@ (C)OPYRIGHT 1996 BY PAUL ELSON"
Print #2,
Print #2, "@03@ BBS NAME" + Tab(20); "CITY" + Tab(23); "PHONE"
Print #2, "@0C@══════════════════════════════════════════════════════════════════════════════"
i4465 = LOF(1)
If i4465 <= 0 Then
Close 1
Close 2
GoTo 7405
End If
7178
7202 For i4463 = 1 To i4465 Step 1
Get 1, i4463, t26_4475 '! 501 bytes
Print #2, "@0C@[@0F@"; i4463; "@0C@]@0E@ "; t26_4475.s0; Tab(48); t26_4475.s36; Tab(74); t26_4475.s406
Next
7366 Print #2,
Close 1
Close 2
End If
7379 CopyFile(ProgPath + "CATLIST.TMP", s4977)
ActivityLog "*** EXITED CATLIST AT @TIME@ ***"
7405
End Sub
'! Called 1 time
Sub Sub7408
Cls
Print "@00@ @03@▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@00@"
Print "@00@ @13@█@3B@┌─────────────────────────────────────────────@30@┐@13@█ @00@"
Print "@00@ @13@█@3B@│ @3E@CATList v1.0 @3F@- BBSLister for @3B@Wildcat! v4.1 @30@│@13@█ @00@"
Print "@00@ @13@█@3B@└@30@─────────────────────────────────────────────┘@13@█ @00@"
Print "@00@ @03@▀@13@▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ @00@"
Print
Print "@0E@ Please note that is program is still under development. If you encounter"
Print "any problems, please inform your sysop."
Print
Print "All security locks are in place. Only the SYSOP, the person who enters the data"
Print "or the SYSOP of the BBS in the record can edit or delete that record."
Print
Print " I love to here from others about my programs, either bad or good."
Print "If you find a problem or would like something added or whatnot, drop"
Print "me a note! (even just to say hi!). I can be reached at 1:255/23@fidonet.org"
Print "or e-mail me at pelson@mi.net. Or even better call the ASTRON BBS"
Print "506-652-8999 (V.FC),652-8996 (V.34),652-9074 (V.34),652-8989 (V.34),"
Print "636-9894 (V.32b),658-6248 (V.32b)."
Print
Print "@0F@ Other programs by Paul Elson."
Print " Fastlog v1.45 - Fastlogin Utility, bypass hello screens but checks"
Print " user for new mail,bulletins & newsletter. Also includes"
Print " a password change option *FREEWARE*"
Print " PCHANGE 1.01 - Force users to change thier password after so many calls"
Print " *FREEWARE*"
Print " CATime v1.04 - Time bank for wildcat *SHAREWARE*"
Print " IDrenum 1.1 - Sysop util. to renumber user ids *FREEWARE*"
Print " SCMESS 1.1 - Sysop util. to import messages from Chris Halls scrabble"
Print " door. *FREEWARE*"
Print " X-Call 1.0 - Last callers list *SHAREWARE*"
Print
WaitEnter
End Sub
'! Called 1 time
Sub Sub7670
Dim l65530 As Long
Dim i65534 As Integer
GetUser(ur5007, NodeInfo.CallersName)
Print DefColor
Cls
Print "@00@ @03@▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@00@"
Print "@00@ @13@█@3B@┌─────────────────────────────────────────────@30@┐@13@█ @00@"
Print "@00@ @13@█@3B@│ @3E@CATList v1.0 @3F@- BBSLister for @3B@Wildcat! v4.1 @30@│@13@█ @00@"
Print "@00@ @13@█@3B@└@30@─────────────────────────────────────────────┘@13@█ @00@"
Print "@00@ @03@▀@13@▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ @00@"
Print
Print "@00@ @03@▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@00@"
Print "@00@ @03@█@3B@┌─────────────────@30@┐@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@0@3F@ Quit @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@1@3F@ Short List @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@│ @3E@2@3F@ Long List @30@│@03@█@13@ @00@"
Print "@00@ @03@█@3B@└@30@─────────────────┘@03@█@13@ @00@"
Print "@00@ @03@▀@13@▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ @0E@@00@"
l4993 = InputNumber(Tab(26) + "WHICH LIST? (0 TO QUIT)", 0, 2)
If l4993 = 0 Then
Else
7859 If l4993 = 1 Then
s5657 = Str(ur5007.UserId) + "SHRT.TXT"
End If
7897 If l4993 = 2 Then
s5657 = Str(ur5007.UserId) + "LONG.TXT"
End If
7935 Open ProgPath + "CATLIST.DAT" For Random As 1 Len = 501 '! This value should probably be replaced with a "SizeOf" expression
Open ProgPath + s5657 For Output As 2
i4465 = LOF(1)
8019 For i4463 = 1 To i4465 Step 1
Get 1, i4463, t26_4475 '! 501 bytes
If l4993 = 1 Then
Print #2, "["; i4463; "] "; t26_4475.s0; Tab(38); t26_4475.s36; Tab(64); t26_4475.s406
Else
8181 Print #2, "BBS NAME: "; t26_4475.s0; Tab(50); "CITY: "; t26_4475.s36
Print #2, "SYSOPS NAME: "; t26_4475.s451; Tab(50); "#OF NODES: "; t26_4475.s403
Print #2, "PHONE #: "; t26_4475.s406; Tab(50); "SOFTWARE: "; t26_4475.s436
Print #2, "NET ADDRESS: "; t26_4475.s328; Tab(40); t26_4475.s353; Tab(66); t26_4475.s378
Print #2, "COUNTRY: "; t26_4475.s303; Tab(50); "PROV/STATE: "; t26_4475.s421
Print #2, "COMMENTS:"
Print #2, t26_4475.s66
Print #2, t26_4475.s145
Print #2, t26_4475.s224
Print #2, "--------------------------------------------------------------------------"
End If
8515 Next
8538 Print #2,
Print #2, "THIS LIST MADE BY CATLIST V1.0 (C)1996 BY PAUL ELSON"
Close 1
Close 2
If SendFile(ProgPath + s5657, 1213417543) = -1 Then
Else
8595 Print "DOWNLOAD ERROR, TRY AGAIN, OR ASK THE SYSOP FOR HELP."
WaitEnter
End If
8607 Kill ProgPath + s5657 + ".CAT"
End If
8626
End Sub
'! Called 1 time
Function Func8629(l65534 As Long, l65532 As Long) As Integer
Dim l65467 As Long
Dim i65471 As Integer
Dim l65473 As Long
Dim i65477 As Integer
Dim s65483 As String*7
Dim s65490 As String*30
Dim l65520 As Long
Dim l65524 As Long
Dim i65528 As Integer
s65490 = MakeWild.BBSName
s65490 = Trim(s65490)
l65524 = 0
8703 For i65528 = 1 To Len(s65490) Step 1
l65524 = l65524 + Asc(Mid(s65490, i65528, 1))
Next
8807 s65483 = MakeWild.RegString
s65483 = Trim(s65483)
l65520 = 0
8873 For i65528 = 1 To Len(s65483) Step 1
l65520 = l65520 + Asc(Mid(s65483, i65528, 1))
Next
8977 l65520 = l65520 + l65524
l65520 = l65520 * 7
l65520 = l65520 * l65532
l65520 = l65520 + l65532
l65520 = l65520 / 3
If l65520 = l65534 Then
Func8629 = - 1
Else
9100 Func8629 = 0
End If
9106
End Function